/*****************************************************************************
* Copyright (c) 2009
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
*     Angelo Zerr <angelo.zerr@gmail.com>
*     Pascal Leclercq <pascal.leclercq@gmail.com>
*******************************************************************************/

package org.dynaresume.dto.criteria;

public class BaseCriteria {

//	private String column;
//	private boolean ascending;
//
//	public void setOrderBy(String column) {
//		this.setOrderBy(column, true);
//	}
//	
//	public void setOrderBy(String column, boolean ascending) {
//		this.column = column;
//		this.ascending = ascending;
//	}
//
//	public String getStringOrderBy() {
//		if (this.column != null && this.column.length() > 0) {
//			StringBuffer orderBy = new StringBuffer(" order by  ");
//			orderBy.append(column);			
//			if (!ascending)
//				orderBy.append(" desc ");
//			orderBy.append(" ");
//			return orderBy.toString();
//		}
//		return "";
//	}
}
